package com.cf.conf.core;

import com.cf.conf.core.formate.PrimitiveFormate;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface ZValue {

    /**
     * 属性key
     *
     * @return
     */
    String key();

    /**
     * 数据转换器
     *
     * @return
     */
    Class formate() default PrimitiveFormate.class;

}